<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
<script src="../AngularJS/angular-1.5.0/angular.min.js"></script>

<title></title>
	</head>
	<body ng-app="myapp">
		<div ng-controller="myctrl">
			<expander class="expander" expander-title='title'>
				{{text}}
			</expander>
		</div>
<script>
	var app = angular.module("myapp",[]);
	app.controller("myctrl",function($scope){
		$scope.title='展开';
		$scope.text = '内容';
		
	});
	 
</script>
	</body>
</html>
